<?php
//header("Content-Type:text/html;charset=GB2312");
$qu_id= $_GET['id'];
if(is_numeric($qu_id)){
	require_once("./includes/configure.php");
	require_once("./includes/database.php");
	$db = Database::Connect();
	$zufang_shangquan_array = $db->getShangquanArray($qu_id);

	echo '<select id="f4" name="quyu2">';
	echo '<option value="0">选择板块</option>';
	for($ii=0;$ii<count($zufang_shangquan_array);$ii++){
		echo "<option value='".$zufang_shangquan_array[$ii]['this_id']."'> ".$zufang_shangquan_array[$ii]['value']."</option>";
	}
	echo '</select>';
}else{
	exit;
}
?>